<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "knowledgerelation".
 *
 * @property integer $ID
 * @property string $knowrelationID
 * @property string $knowID
 * @property string $knowNextID
 * @property string $topID
 */
class KnowledgerelationModel extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'knowledgerelation';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['knowrelationID', 'knowID', 'knowNextID', 'topID'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'ID' => 'ID',
            'knowrelationID' => 'Knowrelation ID',
            'knowID' => 'Know ID',
            'knowNextID' => 'Know Next ID',
            'topID' => 'Top ID',
        ];
    }
}
